﻿<%@ Page Title="我的信息" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MySMS.aspx.cs" Inherits="StoragePeriod.Web.SMS.MySMS" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .layout{ background:url(../images/images_59.jpg) no-repeat;}
    .left-cloumn{display:none;}
    .right-cloumn{width:944px;}
    #sms_title_li_0{ background:url(../images/images_55.jpg) no-repeat;}
    .sms_main{height:443px; padding-top:10px;}
    .center_table{width:920px; margin:0px auto;border:1px solid #ccc;}
    .center_table table tbody tr td{border:0px; border-bottom:1px dashed #ccc;}
    .center_div{width:382px; height:282px; padding: 0px; margin-top: -100px; left:50%;}
</style>
    <script src="../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script type="text/javascript">
    function divhidel() {
        $(".bg").css("display", "none");
        $(".center_div").css("display", "none");
    }
    function divshow() {
        $(".bg").css("display", "block");
        $(".center_div").css("display", "block");
    }
    
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainLeft" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<div class="sms_title">
    <ul>
        <li id="sms_title_li_0"><a href="SMS.aspx" >写新信息</a></li>
        <li><a href="MySMS.aspx" style="color:#f90;">我的信息</a></li>
        <li><a href="SendSMS.aspx">已发信息</a></li>
    </ul>
</div>
<div class="sms_main">
    <div class="center_table">
        <table width="100%" cellpadding="0" cellspacing="0">
            <thead>
                <tr>
                    <td>序号</td>
                    <td>发送者</td>
                    <td>标题</td>
                    <td>是否已读</td>
                    <td>发送时间</td>
                    <td>查看详细</td>
                    <td>删除</td>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="Rep_MySend" runat="server" OnItemCommand="Rep_MySend_ItemCommand">
                    <ItemTemplate>
                        <tr>
                            <td><%#GetXid(Eval("id").ToString())%></td>
                            <td><%#Eval("SendPersonnelName")%></td>
                            <td><%#Eval("Title") %></td>
                            <td><%#bool.Parse(Eval("IsRead").ToString())?"是":"否"%></td>
                            <td><%#Eval("SendDate") %></td>
                            <td><asp:Button ID="btn_info" runat="server" CssClass="btn_ico_info" CommandName="info" CommandArgument=<%#Eval("id")%> /></td>
                            <td><asp:Button ID="btn_del" runat="server" CssClass="btn_ico_del" OnClientClick="return confirm('确定删除？');" CommandName="del" CommandArgument=<%#Eval("id")%> /></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
    </div>
    <div class="list_page">
        <ul>
            <li>第<asp:Label ID="lab_CurrPage" runat="server" Text="1"></asp:Label>/<asp:Label ID="lab_pagecount" runat="server" Text="10"></asp:Label></li>
            <li>每页<asp:Label ID="lab_count" runat="server" Text="14"></asp:Label>条</li>
            <li><asp:button ID="btn_First" runat="server" Text="" CssClass="btn_page_first" 
                    onclick="btn_First_Click" /></li>
            <li><asp:button ID="btn_Prev" runat="server" Text="" CssClass="btn_page_Prev" 
                    onclick="btn_Prev_Click" /></li>
            <li><asp:Button ID="btn_Next" runat="server" Text="" CssClass="btn_page_Next" 
                    onclick="btn_Next_Click" /></li>
            <li><asp:Button ID="btn_Last" runat="server" Text="" CssClass="btn_page_Last" 
                    onclick="btn_Last_Click" /></li>
        </ul>
    </div>
</div>
<div class="sms_foot">
    <img src="../images/images_58.jpg" width="944" height="8" class="float_left" />
</div>
<!--遮罩层start-->
<div id="divbg" class="bg"></div>
<div id="divmain" class="center_div">
    <h2>短讯详细</h2>
    <div class="MessageMain">
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tbody>
                <tr>
                    <td width="40px;" align="right">标题：</td>
                    <td align="left"><asp:TextBox ID="txt_title" runat="server" style="width:98%;"></asp:TextBox></td>
                </tr>
                <tr>
                    <td align="right" valign="top">正文：</td>
                    <td align="left"><asp:TextBox ID="txt_content" runat="server" style="width:98%;height:160px;" TextMode="MultiLine"></asp:TextBox></td>
                </tr>
            </tbody>
        </table>
    </div>
    <div class="MessageBtn">
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tbody>
                <tr>
                    <td><input type="button" class="btn_1" value="确定" onclick="divhidel()" /></td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
<!--遮罩层end-->

</asp:Content>